﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;


namespace StateManager
{
    struct tile
    {
        public Texture2D texture; // stores the tile image
        public collisionCheck colTile; // this stores the collision enum to say if its passable or not

        public const int width = 80;
        public const int height = 48;
        // the width and height of the tile -- these will need to be changed if the size of the tiles are changed in the design

        public readonly Vector2 Size;

        public tile(Texture2D tex, collisionCheck col)
        {
            texture = tex;
            colTile = col;
            //Size = new Vector2(texture.Width, texture.Height);
            Size = new Vector2(texture.Width, texture.Height);
        }

    }
    // this enum is used to set if the player is on ground, on a log or drowning (dead)
    enum checkLocation
    {
        onGround = 0,
        onLog = 1,
        drowning = 2,
        turtledrown,
        crocbite
    }
}
